package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Menu;

import java.util.List;

//服务接口
public interface MenuService {
    public void add(Menu menu);
    public PageResult pageQuery(QueryPageBean queryPageBean);
    public void deleteById(Integer id);
    public void edit(Menu menu);
    public Menu findById(Integer id);
    public List<Menu> findAll();
}
